﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessLogicLayer
{
    public class PlaceOrder
    {
        public Orders order
        { get; set; }
       public  List<OrderDetails> orderDetails = new List<OrderDetails>();
        public void addDeails(OrderDetails orderDetail)
        {
            orderDetails.Add(orderDetail);

        }
        public bool Equals(PlaceOrder placeOrder)
        {
            return (this.order.SupplierID == placeOrder.order.SupplierID);
        }
        public PlaceOrder()
        {
            order=new Orders();

        }
    }
}
